import {get,post,del,put} from '@/utils'

export const getPageAuth = (param:any) => {
  return get('/auth/page',param)
}


export const delAuth = (param:any) => {
  return del('/auth/del',param)
}

export const addAuth = (param:any) => {
  return post('/auth/add',param)
}

export const updateAuth = (param:any) => {
  return put('/auth/edit',param)
}

export const getRouters = (param:any) => {
  return get('/auth/getRouters',param)
}

